package com.hotel.tv.web.admin.controllers.hotel;

import com.hotel.tv.constants.HotelUserRoleConstants;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.shiro.authz.annotation.RequiresRoles;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * </p>
 *
 * @description TODO
 * @author: 老码农
 * @create: 2020-04-10 15:20
 **/
@RestController
@RequestMapping("/order")
@Api(tags = "自定义订单管理")
@RequiresRoles(value = {HotelUserRoleConstants.HOTEL_USER_ROLE})
public class HotelOrderController {

    /**
     * 消息数量
     * @return
     */
    @PostMapping("/msgCount")
    @ApiOperation(value = "消息数量")
    public Long msgCount(){
        return 9009L;
    }

}
